/**
 *  (c)
 * <p>
 *
 * <p>
 *
 */

package com.nn.smart.bus.feign.fallback;

import com.nn.smart.bus.commons.tools.security.user.UserDetail;
import com.nn.smart.bus.feign.UserFeignClient;
import com.nn.smart.bus.commons.tools.utils.Result;
import com.nn.smart.bus.dto.DataScopeDeptList;
import com.nn.smart.bus.dto.SysUserOpenIdFormDTO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 用户接口 Fallback
 *
 * @author nanning
 * @since 1.0.0
 */
@Component
public class UserFeignClientFallback implements UserFeignClient {

    @Override
    public Result<UserDetail> getById(Long id) {
        return new Result<>();
    }

    @Override
    public Result<UserDetail> getByUsername(String username) {
        return new Result<>();
    }

    @Override
    public Result<List<DataScopeDeptList>> getDataScopeList(Long id) {
        return new Result<>();
    }

    @Override
    public Result modifyOpenIdByUsername(SysUserOpenIdFormDTO sysUserOpenIdFormDto) {
        return new Result<>();
    }

    @Override
    public Result packageUserDeptOption(Long userId) {
        return new Result<>();
    }

    @Override
    public Result updateUserOpenId(Long userId) {
        return new Result<>();
    }

    @Override
    public Result<UserDetail> getByScrip(String scrip) {
        return new Result<>();
    }
}
